INCLUDEPATH += $$PWD

equals(QMAKE_HOST.os, Windows) {
    TARGET_ARCH_TYPE = "X86"
    msvc* {
        equals(QMAKE_TARGET.arch, x86) {
            TARGET_ARCH_TYPE = Msvc_X86
        }
        equals(QMAKE_TARGET.arch, x86_64) {
            TARGET_ARCH_TYPE = Msvc_X64
        }
    }
    mingw* {
        TARGET_ARCH_TYPE = Mingw_X86
        MAKEINFO = $$system(mingw32-make -v)
        contains(MAKEINFO, i686.*) {
            TARGET_ARCH_TYPE = Mingw_X86
        } else {
            TARGET_ARCH_TYPE = Mingw_X64
        }
    }
}
